//################################
// 版权所有：鸽子游戏俱乐部
// 系统名称：鸽子游戏俱乐部-移动版
// 文件名称：uiconstants.js
// 创建时间：2017年04月08日
// 创建人员：Lemo
// 功能说明：ui界面文字国际化
//################################

'use strict';

import LocalizedStrings from 'react-native-localization';

const UIConstants = new LocalizedStrings({
    cn: {
        errorCodes: {
            pwdExpired: '9517',
        },
        errors: {
            soiYijuDependsOnSelfError: '当前公文依据依赖当前公文错误...',
            soiYijuInformError:'依据详情不支持知会操作!',
            emailContactFormatError: '收件人格式错误，正确格式如下：\n张三/技术总监室/软件开发中心/总行机关/ABC\n或者\nzhangsan@abchina.com',
            emailContactDuplicatedError: '当前收件人已经包含在发送列表中',
            loginUsernameEmptyError: '用户名不能为空',
            loginPasswordEmptyError: '密码不能为空',
        },
        login: {
            username_placeholder: '请输入登录账号',
            password_placeholder: '请输入登录密码',
            remember_password: '记住密码',
            forget_password: '忘记密码?',
            login: '登　　录',
            app_name: '鸽子游戏俱乐部',
            login_with_problem: '登录遇到问题?',
            login_failed_tips: '登录失败：',
            alert_confirm: '确定',
            alert_cancel: '取消',
            validate_failed_tips: '用户名或密码错误，请检查后重新登录...',
            logining: '正在登录……',
            inputGesturePassword: '请输入手势密码',
            inputGesturePasswordSuccess: '手势密码正确，登录中！',
            inputGesturePasswordFailed: '手势密码错误，请重试！',
            switchToUsernamePasswordLogin: '切换到用户名密码登录',
        },
        codepush: {
            syncTimeout: ' 获取更新超时',
            checkForUpdate: '正在检查更新，请稍候',
            startDownloadUpdate: '正在下载更新，请稍候',
            finishDownloadUpdate: '更新下载完毕',
            startInstallUpdate: '正在安装更新',
            importantUpdate: '重要更新',
            normalUpdate: '可用更新',
            updateContent: '本次更新内容：\n{UPDATE_CONTENT}',
            updateContentSuffix: '\n更新完成后将自动重启【移动办公】APP',
            confirmLabel: '确定',
            cancelLabel: '取消',
            installLabel: '安装',
            updateContentMask: '{UPDATE_CONTENT}',
            notification: '提示',
            restartAppContent: '应用更新下载完毕，是否重启应用？',
            restartAppRightNowLabel: '立即重启',
            restartAppLaterLabel: '稍后重启',
        },
        logout: {
            logoutTips: '注销用户登录……',
        },
        firstPage: {
            app_name: '鸽子游戏俱乐部',
            email: '邮件',
            zhsoi: '总行公文',
            zxsoi: '软开公文',
            transaction_coop: '事务协同',
            approval_coop: '审批协同',
            data_window: '数据橱窗',
            agenda: '我的日程',
            news: '农行资讯',
			asmp: '应用支持',
            more: '更多',
            fhsoi: '分行公文',
        },
        main: {
            rent_game: '游戏租还',
            others: '增值服务',
            my: '个人中心',
            first_page: '首页',
            contacts: '通讯录',
            todo: '待办',
            jumpToMain: '正在跳转回首页……',
        },
        email: {
            title: '邮件',
            back: '返回',
            inbox: '收件箱',
            outbox: '已发送',
            draftbox: '草稿箱',
            nomoredata: '无更多数据',
            loadmore: '加载更多',
            listnodata: '暂无数据',
            listrefreshicon: '↻',
            listdownicon: '↓',
            sender: '发件人：',
            reciever: '收件人：',
            ccreciever: '抄送人：',
            forwarder: '转发人',
            forwardTime: '时间',
            replyEdit: '撰写：',
            subject: '主　题：',
            datetime: '时　间：',
            detail: '邮件详情',
            new: '新建',
            reply: '回复',
            menuReply: '回复发件人',
            menuReplyAll: '回复所有人',
            forward: '转发',
            delete: '删除',
            edit:'编辑',
            choose: '选择',
            cancel: '取消',
            savedraft:'保存草稿',
            notsavedraft:'不保存草稿',
            savingDraftTips:'正在保存草稿...',
            send: '发送',
            loadingbody: '正在加载邮件正文...',
            presstorefresh: '点击刷新',
            email: '邮件',
            readed: '1',
            unreaded: '0',
            contactsSelector: '请选择联系人',
            keyword: '请输入查询关键字...',
            search: '搜索联系人',
            myContacts: '常用联系人',
            attachment: '附　件：',
            attachmentinfo: '共 {counts} 个附件',
            attachmentexpand: '展开',
            attachmentunexpand: '收起',
            confirm: '确认',
            selTipCount: '【常用联系人已选择 {counts} 个】',
            selTipSerchCount: '【搜索联系人已选择 {counts} 个】',
            allChecked: '全选',
            loadingcontact: '正在加载联系人...',
            executeQuerying: '正在检索...',
            selectContactsTips: '请选择邮件收件人',
            selectCCContactsTips: '请选择邮件抄送人',

            nosubject: '(无主题)',
            nobody: '(无正文)',
            noselectedtodelete:'您并没有选择要删除的邮件。如需批量删除，请重新选择。',
            mailDeleted: '删除邮件成功。若需找回请访问电脑版客户端废纸篓。',
            sendsuccess: '邮件发送成功',
            sendfailed: '邮件发送失败:',
            contactsnull: '邮件收件人不能为空',
            sendingMailTips: '邮件正在发送...',
            editOriginalEmailBody: '编辑原文',
            editorSubject: '请输入邮件主题',
            postDateToday: '今天',
        },

        my: {
            title: '个人中心',
			myProfile:'我的资料',
            logout: '退出登录',
            signout: '注销账户',
            closeapp: '关闭应用',
            gesturepwd: '手势密码',
            inputorgpwd: '请输入原手势密码',
            inputnewpwd: '请输入新手势密码',
            confirmnewpwd: '请再输入1次新手势密码',
            gestureok: '手势密码设置成功',
            least4p: '请至少连接4个点',
            confirmfailed: '两次输入的密码不同',
            verifyfailed: '原密码输入错误',
            cancel: '取消',
			guide:'新手指南',
            userAuthority:'用户授权',
            resetPwd:'密码修改',
            gesturePassword:'手势密码',
            gesturePasswordPageHeader: '手势密码设置',
            subAccountSwitch:'子账户切换',
            settings:'设置',
            savePwd: '保存',
            tech: '采用USAP统一安全认证密码',
            username: '用户名：　',
            originPwd: '原密码：　',
            originPwd_placeholder: '请输入原始密码',
            newPwd: '新密码：　',
            newPwd_placeholder: '至少6位数字或字母',
            dcheckPwd: '确认密码：',
            dcheckPwd_placeholder: '请再次输入新密码',
            resetingPwd: '正在设置密码……',
			infoTitle: '提　示',
            closeDialog: '关闭',
            back: '返回',
            gesturePasswordSetting: '请设置手势密码',
            gesturePasswordSettingAgain: '请再次确认手势密码',
            gesturePasswordSettingError: '手势密码错误，请重新设置',
            gesturePasswordSettingTooShort: '手势密码过短，至少连接4个点',
            gesturePasswordSettingSuccess: '手势密码设置成功',
            gesturePasswordOn: '开启手势密码',
            gesturePasswordOff: '关闭手势密码',
            saveGesturePasswordError: '保存手势密码失败，请稍后重试',
            gesturePasswordSettingCountDownTips: '{counts} 秒后自动回到【我的】',
            
            officeAuthorization:'办公授权',
            unifiedAuthorization:'统一授权',
            classifiedAuthorization:'分类授权',
            authorized:'已授权',
            notAuthorized:'未授权',
            peopleAuthorized:'被授权人',
            chooseAtzPerson:'选择授权人',
            loadingAtzInfo:'正在加载授权信息',
            authorizationTypeName:'授权名称',
            authorizationStatus:'授权情况',
            lastModifyTime:'最近修改时间',
            authorize:'文件授权',
            deauthorize:'取消授权',
            selectPersonTip:'请选择被授权人',

            errorLogs: '异常错误日志',
            nodata: '无数据',
            selectErrorLogs: '选择',
            sendErrorLogs: '反馈',
            selectTipCount: '【共 {total} 条，已选择 {counts} 个】',
            customerFeedback: {
                emailSubject: '错误异常反馈',
                emailAddress: '移动办公技术支持/应用开发九部/软件开发中心/总行机关/ABC',
                // emailAddress: 'panyunpeng@abchina.com',
            },
            updateApp: '应用更新',
            // 生产环境生产apk下载地址
            updateUrl: 'http://10.229.134.207/MOSFront/apkdownload',
            // 测试环境生产apk下载地址
            // updateUrl: 'http://10.229.134.207/MOSResFront/app/MOS.apk',
            // 测试环境测试apk下载地址
            // updateUrl: 'http://10.233.93.55:235/MOSFront/apkdownload.apk',
            // updateUrl: 'http://10.231.105.192:8080/MOSFront/apkdownload',
            // updateUrl: 'http://10.233.93.55:235/MOSResFront/app/MOS.apk',
            errorLogsSelectionTips: '请选择要反馈的错误日志',
            appInfo: '关于',
            versionInfo: '当前版本:',
            versionDescription: '更新内容:',
            versionDescriptionContent: '欢迎使用移动办公APP',
            kindlyPrompt: '温情提示',
            pwdExpiredMsg: '您的登录密码即将在 {DAYS} 天之后过期，是否立即设置新密码？',
            pwdExpiredConfirmLabel: '立即设置',
            pwdExpiredCancelLabel: '稍后设置',
            resetPwdLaterTips: '稍后您可在\n【我的】-【密码修改】\n中进行密码修改！',
            pwdExpireBadgeText: '密码将在 {DAYS} 天后过期',
        },
		
		title:{
            Name: '姓名',
        },
        guide:{
            title: '新手指南',
            back: '返回',
        },
        userAuthority:{
            title: '用户授权',
            back: '返回',
        },
        resetPwd:{
            title: '密码重置',
            back: '返回',
        },
        gesturePasswd:{
            title: '手势密码',
            back: '返回',
        },
        subAccountSwitch:{
            title: '子账户切换',
            back: '返回',
        },
        settings:{
            title: '设置',
            back: '返回',
        },
        download: {
            downloadStart: '开始下载...',
            downloading: '正在下载...({percent}%)',
            downloadComplete: '下载完成',
            cancelDownload: '取消下载',
            openDownload: '打开文件',
            close: '关　　闭',
            percent: '{percent}',
            dir: 'ABCDownloadFiles',
            belongingType: {
                zhsoi: 'zhsoi',
                zxsoi: 'zxsoi',
                email: 'email',
                cooperation: 'cooperation',
            },
            openError: '未能找到打开该文件类型的应用, 请安装相关第三方应用后重试! ',
            fileTypeNotSupported: '下载文件类型不支持！',
        },
        coop:{//事务协同
            id:'cooperation',
            back: '返回',
            title: '事务协同',
            list: '列表',
            todolist: '待办列表',
            loadingattach: '正在载入协同附件',
            isLoading:'正在加载...',

            nomoredata: '已显示全部内容',
            loadmore: '加载更多',
            presstorefresh: '点击刷新',
            listnodata: '无数据',
            listrefreshicon: '↻',
            listdownicon: '↓',

            titleKey:'标　　题：',
            infoType:'协同类型：',
            //importance:'紧急程度：',
            sender: '发起人　：',
            reciever: '收件人：',
            copyReciever: '抄送人：',
            datetime: '时　　间：',
            jinji: '紧急程度：',
            detailTitle: '事务协同详情',
            thereunder: '依据详情',
            new: '新建',
            reply: '回复',
            forward: '转发',
            delete: '删除',
            cancel: '取消',
            readed:'1',
            unreaded:'0',
            sign:'签阅',
            

            placeholder:'请输入意见...',

            detail:'协同详情',
            signComments:'签阅意见',
            attachment:'附件',

            moreStatus:'更多协同处理状态',
            addrecvStatus:'增加传阅协同处理状态',

            boxes: {
                todo: '待办',
                received: '我收到的',
                sponsor: '我发起的',
                follow: '我关注的',
                favorite: '收藏夹',
                draft:'草稿夹',
            },
            markType: {
                jiaji: '加急',
                teji: '特急',
                none: '无',
            },
            jjcd: {
                yb: '一般',
                jj: '紧急',
            },
            menuBarOpts:{
                readAndSign:'签阅',
                readEnded:'阅毕',
                more:'更多',
                //addCirculation:'增加传阅',
            },
            menuOpts:{
                addCirculation:'增加传阅',
                handleStatus:'协同处理状态',
            //     forward:'转发',
            //     delete:'删除',
            //     favorite:'收藏',
            //     followToggle:'关注/取消关注',
            },
            confirmDialog:{
                title:'确认对话框',
                content:'对话框内容',
                confirmLabel:'确定',
                cancelLabel:'取消',
            },
            addRecv:{
                addrecv: '增加传阅',
                keyword: '请输入要检索的人名',
                cancel: '取消',
                reciever: '主送',
                ccreciever: '抄送',
                dbreciever: '督办',
                selectContactsTips: '请选择传阅接收人',
                selectCCContactsTips: '请选择传阅抄送人',
                selTipSerchCount: '【搜索联系人已选择 {counts} 个】',
                contactsnull: '增加传阅主送不能为空',
                bodyInputTips: '请编辑传阅意见...',
                sendsuccess: '增加传阅成功',
                sendfailed: '增加传阅失败:',
                send: '发送',
                confirm: '确认',
                contactsSelector: '请选择联系人',
                search: '搜索联系人',
                duplicatedError: '{inpuType}列表已包含当前所选主体',
            },
            type:[
                '通知',
                '商办',
                '请示',
                '报告',
                '简报',
                '纪要',
                '其他'
            ]
        },
        contacts: {
            id: 'addressBook',
            title:'通讯录',
            tabItems:{
                allOrgs:'全部机构',
                topOrgs:'常用机构'
            },
            detail:{
                name:'姓　　名：',
                male:'男',
                female:'女',
                sex:'性　　别：',
                org:'所属机构：',
                email:'电子邮箱：',
                mobilephone:'手　　机：',
                bz:'备　　注：',
                workingarea:'办公信息区',
                officeaddress:'办公地点：',
                officetel:'办公电话：',
                postcode:'邮　　编：',
                fax:'传　　真：',
                mailaddress:'通讯地址：'
            },
            draw:{
                publicContacts:'公共通讯录',
            },
            search:{
                search:'查询',
                keyword:'请输入要检索的人名',
            },
            nodeType:{
                orgNode:'orgLazyNode',
                userNode:'userItemNode'
            },
            userInfoTitle:'个人信息',
            userInfo:{
                phoneNum:'手机',
                email:'邮箱',
                emailAddress:'通讯地址',
                orgName:'所属机构',
                workingArea:'办公地点',
                officePhone:'办公电话',
                postcode:'邮编',
                taxNumber:'传真',
                memo:'备注'
            }
        },
		
        common:{
            cancel:'取消',
            search:'搜索'
        }
    },
    en: {
        login: {
            username_placeholder: 'Please input your username',
            password_placeholder: 'Please input your password',
            remember_password: 'Remember Password',
            forget_password: 'Forget Password',
            login: 'Sign In',
            app_name: 'Mobile Office System',
            login_with_problem: 'Sign In with Problem?',
            login_failed_tips: 'Sign In Failed:',
            alert_confirm: 'OK',
            validate_failed_tips: 'Wrong Input with Your Username or Password, Please Check and Sign In again...',
        },
        firstPage: {
            app_name: 'Mobile Office System',
            email: 'Email',
            zhsoi: '总行SOI',
            zxsoi: '软开SOI',
            fhsoi: '分行SOI',
            transaction_coop: '事务协同',
            approval_coop: '审批协同',
            data_window: '数据橱窗',
            agenda: 'Agenda',
            news: 'News',
            more: 'More',
        },
        main: {
            first_page: 'Home',
            contacts: 'Contacts',
            todo: 'ToDo',
            my: 'My',
        },
        email: {
            title: 'Email',
            back: 'Back',
            inbox: 'Inbox',
            outbox: 'Outbox',
            draftbox: 'Drafts',
            nomoredata: 'No More Data',
            loadmore: 'Load More',
            listnodata: 'No Data to Display',
            listrefreshicon: '↻',
            listdownicon: '↓',
            sender: 'From:  ',
            reciever: 'SendTo:',
            ccreciever: 'CopyTo:',
            subject: 'Subject:',
            datetime: 'Date:  ',
            detail: 'Email Detail',
            new: 'New',
            reply: 'Reply',
            forward: 'Forward',
            delete: 'Delete',
            cancel: 'Cancel',
            send: 'Send',
            loadingbody: 'Loading the email content...',
            presstorefresh: 'Press to refresh',
            email: 'Email',
            confirm: 'confirm',
        },
        zhsoi: {
            boxes: {
                todo: '待办',
                zhihui: '知会',
            },
            type: {
                qianbao: '签报',
                jianbao: '简报',
                fawen: '发文',
                shouwen: '收文',
                jiyao: '纪要',
                qingjia: '请假报告',
            },
            markType: {
                jiaji: '加急',
                teji: '特急',
                none: '无',
            },
            title: 'ZHSOI',
            todolist: 'To-do List',
            back: 'Back',
            nomoredata: 'No More Data',
            loadmore: 'Load More',
            listnodata: 'No Data to Display',
            listrefreshicon: '↻',
            listdownicon: '↓',
            presstorefresh: 'Press to refresh',
            processsheet: 'ZHSOI Process Sheet',
            mainbody: 'ZHSOI Main Body',
            attachment: 'ZHSOI Attachment',
            detail: 'ZHSOI Detail',
            send: 'Send',
            inform: 'Inform',
            more: 'More',
            jiyaodetail: 'JiyaoDetail',
            fldSubject: 'Subject:',
            fldMainSend: 'MainSend:',
            fldInsideSend: 'InsideSend:',
            fldAddTitle: 'AddTitle:',
            jiyaoNO: 'JiyaoNo',
            fldTyper: 'Typer:',
            fldComparer: 'Comparer:',
            fldPrintNumber: 'PrintNumber:',
            jiyaoYiju: 'Yiju:',
            fldReMark: 'ReMark:',
            fldPresidentComment: 'PresidentComment:',
            fldDirectorComment: 'DirectorComment:',
            fldControllerComment: 'ControllerComment:',
            sendBackOpinions: 'SendBackOpinions',
			loadingbody: 'Loading the content...',
            flowtrack: 'Flow Track',
            unfoldall: 'Unfold All',
            foldall: 'Fold All',
        },
        nhzx:{
            back: 'Back',
            title: 'NHZX',
        },
		my: {
			
            title: 'My',
            myProfile:'MyProfile',
            logout: 'Logout',
            signout: 'Signout',
            closeapp: 'CloseApp',
            cancel: 'Cancel',
            guide:'Guide',
            userAuthority:'UserAuthority',
            resetPwd:'resetPwd',
            gesturePasswd:'GesturePasswd',
            subAccountSwitch:'SubAccountSwitch',
            settings:'Settings',

            officeAuthorization:'Office Authorization',
            unifiedAuthorization:'Unified Authorization',
            classifiedAuthorization:'Classified Authorization',
            authorized:'Authorized',
            notAuthorized:'Unauthorized',
            peopleAuthoized:'People Authorized',
            chooseAtzPerson:'Choose The Authorized One',
            loadingAtzInfo:'Loading the Information',
            authorizationTypeName:'Authorization Type',
            authorizationStatus:'Is Authorizd',
            lastModifyTime:'Last Modified Time',
            authorize:'Authorize',
            deauthorize:'Deauthorize',
            selectPersonTip:'Please select the recipient!'

        },
        title:{
            Name: 'Name',
        },
        guide:{
            title: 'FreshMan Training',
            back: 'Back',
        },
        userAuthority:{
            title: 'User Authority',
            back: 'Back',
        },
        resetPwd:{
            title: 'Reset Password',
            back: 'Back',
        },
        gesturePasswd:{
            title: 'Gesture Password',
            back: 'Back',
        },
        subAccountSwitch:{
            title: 'SubAccountSwitch',
            back: 'Back',
        },
        settings:{
            title: 'Settings',
            back: 'Back',
        },
    },
});

module.exports = UIConstants;